package com.lms.service;

import com.lms.bean.Type;
import com.lms.vo.TypeVO;

import java.util.List;

public interface TypeService {
    Long getTotalCount();

    List<TypeVO> findAll(int page, int pageSize);

    Long getTotalCount(String queryCondition);

    List<TypeVO> findAll(int page, int pageSize, String queryCondition);

    Type findTypeById(Long typeId);

    void save(Type type);

    void deleteById(Long typeId);

    void deleteAll(String ids);

    List<Type> findAll();
}
